<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FeaturedDoctor.aspx.cs" Inherits="Doctor_FeaturedDoctor" MasterPageFile="~/MainMaster.master" %>

<%@ MasterType VirtualPath="~/MainMaster.master" %>
<%@ Register Assembly="Manager" Namespace="PagingControl" TagPrefix="cc1" %>
<%@ Register Src="~/includes/showRate.ascx" TagPrefix="showRate" TagName="Uc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainTable" runat="server">
    <div class="heading_inner">
 <div class="heading_topic">
   <h2>Featured Doctors</h2></div>
  </div>
  
   <div class="cl"></div>

    <div ID="trspec" runat="server">
        <div style="text-align:center" id="trerror" runat="server"  > <asp:Label ID="lblerr" runat="server" ForeColor="Red" Font-Size="11px" style="padding:10px"></asp:Label></div>
    <div id="featured_doc">
  <div class="top">Select a specialty to view Featured Doctors :</div>
  
  <div class="imagebox">
  <div><a href="<%=Session["strHttp"]%>Doctor/featured_doctors_speciality_allergy_and_immunology.aspx"><img src="../Images/Allergy_Immunology.jpg" width="221" height="135" /></a></div>
  <h3><a href="<%=Session["strHttp"]%>Doctor/featured_doctors_speciality_allergy_and_immunology.aspx">Allergy & Immunology</a></h3>
 
  </div>
  
  <div class="imagebox">
  <div><a href="<%=Session["strHttp"]%>Doctor/featured_doctors_speciality_chiropractors.aspx"><img src="../Images/Chiropractors.jpg" width="221" height="135" /></a></div>
  <h3><a href="<%=Session["strHttp"]%>Doctor/featured_doctors_speciality_chiropractors.aspx">Chiropractors</a></h3>
 
  </div>
  
  <div class="imagebox">
  <div><a href="<%=Session["strHttp"]%>Doctor/featured_doctors_speciality_cosmetic_surgery.aspx"><img src="../Images/Cosmetic Surgery.jpg" width="221" height="135" /></a></div>
  <h3><a href="<%=Session["strHttp"]%>Doctor/featured_doctors_speciality_cosmetic_surgery.aspx">Cosmetic Surgery</a></h3>
 
  </div>
  
  
  <div class="imagebox">
  <div><a href="<%=Session["strHttp"]%>Doctor/featured_doctors_speciality_dermatologic_surgery.aspx"><img src="../Images/Dermatologic-Surgery.jpg" width="221" height="135" /></a></div>
  <h3><a href="<%=Session["strHttp"]%>Doctor/featured_doctors_speciality_dermatologic_surgery.aspx">Dermatologic Surgery</a></h3>
 
  </div>
  
  
  <div class="imagebox">
  <div><a href="<%=Session["strHttp"]%>Doctor/featured_doctors_speciality_dermatology.aspx"><img src="../Images/Dermatology.jpg" width="221" height="135" /></a></div>
  <h3><a href="<%=Session["strHttp"]%>Doctor/featured_doctors_speciality_dermatology.aspx">Dermatology</a></h3>
 
  </div>
  
  <div class="imagebox">
  <div><a href="<%=Session["strHttp"]%>Doctor/featured_doctors_speciality_facial_plastic_surgery.aspx"><img src="../Images/Facial-Plastic-Surgery.jpg" width="221" height="135" /></a></div>
  <h3><a href="<%=Session["strHttp"]%>Doctor/featured_doctors_speciality_facial_plastic_surgery.aspx">Facial Plastic Surgery</a></h3>
 
  </div>
  
  <div class="imagebox">
  <div><a href="<%=Session["strHttp"]%>Doctor/featured_doctors_speciality_gastroenterology.aspx"><img src="../Images/Gastroenterology.jpg" width="221" height="135" /></a></div>
  <h3><a href="<%=Session["strHttp"]%>Doctor/featured_doctors_speciality_gastroenterology.aspx">Gastroenterology</a></h3>
 
  </div>
  
  
  <div class="imagebox">
  <div><a href="<%=Session["strHttp"]%>Doctor/featured_doctors_speciality_internal_medicine.aspx"><img src="../Images/Internal Medicine.jpg" width="221" height="135" /></a></div>
  <h3><a href="<%=Session["strHttp"]%>Doctor/featured_doctors_speciality_internal_medicine.aspx">Internal Medicine</a></h3>
 
  </div>
  
</div>


<table width="473" border="0" cellpadding="4" style="float:left; margin-left:20px;" class="featured_table">
  <tr>
    <td width="467" ><h1>Other Featured Doctors:</h1></td>
  </tr>

    <%=FeaturedDoctor_category_string %>
   <tr><td><br /></td></tr>
         <tr>
                                        <td style="height: 10px; padding: 20px 0px 0px 30px">
                                            <a href="http://www.findadoc.com/Rss/FeaturedDoctor_rss.xml" id="lnkfDoc" style="text-decoration: none;">
                                                <img style="border-style: none;" src="../Rss/rss.GIF" id="imgRss" alt="" />
                                            </a>&nbsp;<strong>Featured Doctors Feed</strong>
                                        </td>
                                        
                                    </tr>
                                    <tr>
                                        <td style="height: 10px; padding: 20px 0px 0px 24px">
                                            <a href="http://www.findadoc.com/Rss/Blog-Featured-Doctors.xml" style="text-decoration: none;" id="lnkbfDoc">&nbsp;
                                                <img style="border-style: none;" src="../Rss/rss.GIF" id="imgBRss" alt="" />
                                            </a>&nbsp;<strong>Blog Feed</strong>
                                        </td>
                                        
                                    </tr>
    </table>
</div>


   
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                     <tr>
                   
                        <td  align="left">
                          
                                        <asp:Literal ID="litPaging" runat="server" />
                            
                    </tr>

                    <tr id="trresult" runat="server" visible="false">
                        <td colspan="2">To browse another Specialty. Please click <a href="<%=Session["strHttp"] %>Doctor/FeaturedDoctor.aspx" id="lnkhere">here</a>
                            <br />
                            <br />
                            <asp:GridView
                                runat="Server"
                                DataKeyNames="rate"
                                ID="grdRateDoctor"
                                AllowPaging="true"
                                AutoGenerateColumns="false"
                                Width="100%"
                                HeaderStyle-BackColor="DarkGray"
                                HeaderStyle-HorizontalAlign="Center"
                                BorderStyle="Solid"
                                PagerStyle-BackColor="DarkGray"
                                PagerStyle-ForeColor="white"
                                PagerStyle-HorizontalAlign="Center"
                                GridLines="None"
                                OnRowDataBound="grdRateDoctor_RowDataBound"
                                BackColor="#b5d6e7">
                                <Columns>
                                    <asp:TemplateField>
                                        <ItemTemplate>
                                            <table>
                                                <tr>
                                                    <td width="90">
                                                        <%--<img src='<%=Session["strHttp"]%><%# "imagehandler.ashx?type=t&id=" + Eval("Id") + "&gender=" + Eval("gender")%>' />--%>
                                                        <%#getPhoto(Eval("photo"),Eval("gender")) %>
															   
                                                    </td>
                                                    <td nowrap>
                                                        <!-- Comented for implement new URL Formate at 16/07/08 by Ranjeet 
																   <a class="link-result" href='<%=Session["strHttp"]%>doctor/DoctorsDetails.aspx?id=<%# Eval("Id") %><%#obj.FormatURL(Eval("specialityName"),Eval("subSpec"),Eval("state"),Eval("city"),Eval("zipcode"), true) %>' title="Show Details"><b><u><%# Eval("Name")%></u></b></a><br />-->
                                                        <a class="link-result" href='<%=Session["strHttp"]%>doctors/<%#obj.URLFormat(Eval("specialityName"),Eval("state"),Eval("city"), true)%>/<%# Eval("Id") %>-<%# Eval("Name") %>.aspx' title="Show Details"><b><u><%# Eval("Name")%></u></b></a><br />
                                                        <a class="link-result" href='<%# Eval("website") %>' target="_blank"><b><u><%# Eval("website")%></u></b></a><br />
                                                        <img src="<%=Session["strHttp"]%>images/email_icon.gif" />&nbsp;&nbsp;<a class="link-result" href='<%=Session["strHttp"]%>doctor/EmailToDoctor.aspx?Id=<%# Eval("Id") %>'><b><u>Email Dr. <%# Eval("Name")%></u></b></a>
                                                    </td>
                                                </tr>
                                            </table>
                                        </ItemTemplate>
                                        <ItemStyle Width="25%" />
                                    </asp:TemplateField>

                                    <asp:BoundField ItemStyle-HorizontalAlign="Center" HeaderText="Location" DataField="Location">
                                        <ItemStyle Width="30%" CssClass="bodytxt" />
                                    </asp:BoundField>
                                    <asp:BoundField HeaderText="Specialty/Subspecialty" ItemStyle-HorizontalAlign="Center" DataField="Speciality">
                                        <ItemStyle Width="35%" CssClass="bodytxt" />
                                    </asp:BoundField>
                                    <asp:BoundField HeaderText="Rating" ItemStyle-HorizontalAlign="Center" DataField="Rate" ItemStyle-Font-Bold="true" ItemStyle-ForeColor="blue">
                                        <ItemStyle Width="35%" HorizontalAlign="Center" CssClass="bodytxt" />
                                    </asp:BoundField>
                                    <asp:TemplateField>
                                        <HeaderStyle HorizontalAlign="Left" />
                                        <ItemStyle VerticalAlign="Top" />
                                        <ItemTemplate>
                                            </td></tr><tr>
                                            </tr>
                                            <td colspan="6" style="background-color: White"></td>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <HeaderStyle BackColor="DarkGray" HorizontalAlign="Center" />
                                <PagerStyle BackColor="DarkGray" ForeColor="White" HorizontalAlign="Center" />
                            </asp:GridView>
                        </td>
                    </tr>
                    <!-- custom paging Changes on (07/07/07) Amit Deshwal -->
                    <tr>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>

                    <tr>
                        <td align="right">
                            <cc1:Paging ID="cntPaging" runat="server" ResultsLocation="Bottom"
                                StoredProcedureName="get_featureddoctors"
                                OrderBy="fname" Control_Type="GridView" BindToControl="grdRateDoctor" PagerCount="10" PageSize="10" ShowFirst="False" ShowLast="False"></cc1:Paging>

                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center"></td>
                    </tr>

                    <tr>
                        <td colspan="2" align="left">
                            <br />
                            <asp:Label runat="server" ID="lblDateCon"></asp:Label></td>
                    </tr>
                </table>
           

   
    
</asp:Content>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="InnerRight">
</asp:Content>
